/**  
 * All rights Reserved, Designed By Android_Robot   
 * @Title:  MessageService.java   
 * @Package com.jiyi.service   
 * @Description:    TODO(用一句话描述该文件做什么)   
 * @author: HYM     
 * @date:   2017-8-2 上午11:45:56   
 * @version V1.0     
 */  
package com.jiyi.service;

import java.util.List;

import com.jiyi.bean.message.Message;

public interface MessageService {

	void responseRecMsg(String access_token, String msgId);
	void getDetailMessage(String token,String jyid);
	List<Message> getLocalMsg();
	List<Message> getLocalMsg(String keyword);
	Message getLocalDetailMsg(String jyid);
	List<Message> getMsgByAccount(String account);
	Boolean isNoExist(String jyid);
	void deleteMsgByjyid(String jyid);
	void deleteMsgByid(long id);
	void setMsgReaded(long id);
	void setMsgHandle(long id);
	void getNoRecMsgList(String access_token);
	List<Message> getUnReadLocalMsg(String account);
	Message getLastMessageByType(String account,String msgType,String belongType,String from);
}
